unit R_Copias_No_Imprimibles;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, QuickRpt, QRCtrls, DB, ZAbstractRODataset, ZDataset;

type
  TQ_RCopiasNoImprimibles = class(TForm)
    QR_CopiasNoImprimibles: TQuickRep;
    QRBand1: TQRBand;
    QRImage2: TQRImage;
    QRLabel4: TQRLabel;
    QRImage1: TQRImage;
    QRLabel2: TQRLabel;
    QRGroup2: TQRGroup;
    QRExpr2: TQRExpr;
    QRBand2: TQRBand;
    QRDBText1: TQRDBText;
    QRPageFooter: TQRBand;
    QRLabel5: TQRLabel;
    QRLabel6: TQRLabel;
    QRSysData1: TQRSysData;
    SummaryBand1: TQRBand;
    QRDBText2: TQRDBText;
    QRLabel1: TQRLabel;
    TitleBand1: TQRBand;
    QRLabel3: TQRLabel;
    QRLabel7: TQRLabel;
    QRLabel8: TQRLabel;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

implementation

uses F_Reporte_Copias_No_Impresas, DM_Persistencia, F_Funciones;

{$R *.dfm}

procedure TQ_RCopiasNoImprimibles.FormCreate(Sender: TObject);
begin
  with TF_Reporte_NoImprimible(Owner).ZR_Consulta do
    begin
      QRLabel8.Caption:= IntToMounth(ParamByName('MONTH_FROM').asInteger) + ' ' + ParamByName('YEAR_FROM').AsString + ' - ' +
                         IntToMounth(ParamByName('MONTH_TO').asInteger) + ' ' + ParamByName('YEAR_TO').AsString;
    end;
end;

end.
